package com.market.goods.dao.po;

import java.io.Serializable;
import javax.persistence.*;

@Table(name = "base_category1")
public class BaseCategory1PO implements Serializable {
    /**
     * 主键Id
     */
    private Long id;

    /**
     * 分类名称
     */
    private String name;

    private static final long serialVersionUID = 1L;

    /**
     * ��ȡ���
     *
     * @return id - ���
     */
    public Long getId() {
        return id;
    }

    /**
     * ���ñ��
     *
     * @param id ���
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * ��ȡ��������
     *
     * @return name - ��������
     */
    public String getName() {
        return name;
    }

    /**
     * ���÷�������
     *
     * @param name ��������
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }
}